package com.lmscn.lms.api.model;
import com.jfinal.plugin.activerecord.Model;
import java.util.List;

/**
 * Created by Czl on 2015/7/24.
 * 
 * @date 2016年11月10日13:42:18
 */
@SuppressWarnings("serial")
public class SearchHotKey extends Model<SearchHotKey> {

    public static  final SearchHotKey dao = new SearchHotKey();

    /**
     * 查询所有热搜关键词
     * @return
     */
    public List<SearchHotKey> findAll(){
        return dao.find("select * from t_search_hotkey order by sort");
    }
}
